package com.itheima01;

public class test {
    public static void main(String[] args) {
       /* String tt = "html";
        String substring = tt.substring(0, 2);
        String id = substring;
        String num = "008";
        int i = Integer.parseInt(num);
        System.out.println(i);
        System.out.println(id);*/
        String tomorrow ="2021年04月20日";
        System.out.println(tomorrow.substring(tomorrow.length() - 2, tomorrow.length() - 1));
    }
}
